<?php

// 检测PHP环境
if(version_compare(PHP_VERSION,'5.3.0','<'))  die('require PHP > 5.3.0 !');

header("Content-Type: text/html;charset=utf-8");

// 开启调试模式 建议开发阶段开启 部署阶段注释或者设为false
define('APP_DEBUG',True);


define('SITE_URL','http://shop.com/');


define('CSS_PATH',SITE_URL.'/Public/css/');
define('IMG_PATH',SITE_URL.'/Public/images/');
define('JS_PATH',SITE_URL.'/Public/images/');

define('ADMIN_CSS_PATH',SITE_URL.'/Public/Admin/css/');
define('ADMIN_IMG_PATH',SITE_URL.'/Public/Admin/img/');
define('ADMIN_JS_PATH',SITE_URL.'/Public/Admin/js/');

// define('CSS_PATH','/shop/Public/css/');
// define('IMG_PATH','/shop/Public/images/');
// define('JS_PATH','/shop/Public/images/');

// define('ADMIN_CSS_PATH','/shop/Public/Admin/css/');
// define('ADMIN_IMG_PATH','/shop/Public/Admin/img/');
// define('ADMIN_JS_PATH','/shop/Public/Admin/js/');





// 引入ThinkPHP入口文件
require '../ThinkPHP/ThinkPHP.php';
